home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / t_unix / j109lxa4.tar / bm.h < prev    next >
C/C++ Source or Header  |  1994-06-04  |  2KB  |  56 lines

  1.  /* Mods by G1EMM */
  2. #ifndef _BM_H
  3. #define _BM_H
  4.  
  5. #ifndef _MAILBOX_H
  6. #include "mailbox.h"
  7. #endif
  8. #ifndef _SMTP_H
  9. #include "smtp.h"
  10. #endif
  11. #ifndef _MAILUTIL_H
  12. #include "mailutil.h"
  13. #endif
  14.  
  15. /* bm.h -- definitions for bmutil.c that aren't included elsewhere */
  16.  
  17. /* number of columns and lines on a standard display, e.g. vt100 */
  18. #define    MAXCOL        80
  19. #define MAXLIN        24
  20.  
  21. /* message status */
  22. #define    BM_DELETE    1
  23. #define    BM_READ        2
  24. #define    BM_FORWARDED    4
  25. #define BM_HOLD     8
  26.  
  27. #define BM_NLET        200    /* default size of letter array */
  28.  
  29. #define SLINELEN    64
  30. #define LINELEN        256
  31.  
  32. extern unsigned Maxlet;        /* max messages */
  33. #if 0
  34. extern char *fgets();
  35. #endif
  36. extern char *Hdrs[];
  37.  
  38. void getlastread __ARGS((struct mbx *m));
  39. void setlastread __ARGS((struct mbx *m));
  40. void scanmail __ARGS((struct mbx *m));
  41. int msgtofile __ARGS((struct mbx *m,int msg,FILE *tfile,int noheader));
  42. int dolistnotes __ARGS((int argc,char *argv[],void *p));
  43. int isarea __ARGS((char *name));
  44. int dodelmsg __ARGS((int argc,char *argv[],void *p));
  45. int doreadmsg __ARGS((int argc,char *argv[],void *p));
  46. int doreadnext __ARGS((int argc,char *argv[],void *p));
  47. int mbx_reply __ARGS((int argc,char *argv[],struct mbx *m,struct list **cclist,char **rhdr));
  48. int closenotes __ARGS((struct mbx *m));
  49. long isnewprivmail __ARGS((struct mbx *m));
  50. int htype __ARGS((char *s));
  51. char *getaddress __ARGS((char *string,int cont));
  52. extern int tkeywait __ARGS((char *prompt,int flush,int linemode));
  53. extern int mykeywait __ARGS((char *prompt,struct mbx *m));
  54.  
  55. #endif  /* _BM_H */
  56.